﻿namespace Resco.Controls.SmartGrid
{
    using System;
    using System.ComponentModel;
    using System.Windows.Forms;

    public class CustomEditEventArgs : CancelEventArgs
    {
        private Resco.Controls.SmartGrid.Cell m_cell;
        private System.Windows.Forms.Control m_Control;

        internal CustomEditEventArgs()
        {
            this.m_Control = null;
        }

        internal CustomEditEventArgs(Resco.Controls.SmartGrid.Cell cell, System.Windows.Forms.Control control)
        {
            this.m_Control = control;
            this.m_cell = cell;
        }

        public Resco.Controls.SmartGrid.Cell Cell
        {
            get
            {
                return this.m_cell;
            }
        }

        public System.Windows.Forms.Control Control
        {
            get
            {
                return this.m_Control;
            }
        }
    }
}

